/**
 * @filename:Location Jan 14, 2025
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**   
 * @Description:TODO(仓位列表实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_bd_stock_location")
@ApiModel(value="t_bd_stock_location对象", description="仓位列表表")
public class Location extends Model<Location> {

	private static final long serialVersionUID = 1736843290048315L;
	
//    @TableField(exist = false)
//	@ApiModelProperty(name = "id" , value = "编号")
//    private Long id;
    
    @TableField(value = "Id")
	@ApiModelProperty(name = "Id" , value = "主键")
    private Long Id;

    @TableField(value = "StockId") 	
	@ApiModelProperty(name = "StockId" , value = "仓库内码 关联仓位")
    private Long StockId;
    
    @TableField(value = "LocationId") 	
	@ApiModelProperty(name = "LocationId" , value = "仓位内码")
    private Long LocationId;
    
    @TableField(value = "LocationNumber") 	
	@ApiModelProperty(name = "LocationNumber" , value = "仓位编码")
    private String LocationNumber;
    
    @TableField(value = "LocationName") 	
	@ApiModelProperty(name = "LocationName" , value = "仓位名称")
    private String LocationName;

    @TableField(value = "StockNo")
    @ApiModelProperty(name = "StockNo" , value = "仓库编码")
    private String StockNo;
    

	@Override
    public Serializable pkVal() {
        return this.Id;
    }
   
}
